package com.example.properties;


import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
@ConfigurationProperties(prefix = "system")
public class SystemProperties {

    @Value("${system.cKey}")
    private String cKey;

    @Value("${system.cIv}")
    private String cIv;

    // 前端响应地址
    @Value("${system.payCallbackUrl}")
    private String payCallbackUrl;
}
